package com.car.model.component.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("tb_component_brand")
public class ComBrand {

    @TableId(value = "id",type = IdType.ID_WORKER)
    private int id;


    /**
     * 品牌编码
     */
    @TableField("code")
    private String code;

    /**
     *品牌名称
     */
    @TableField("name")
    private String name;

    /**
     * 排序
     */
    @TableField("sort")
    private Integer sort;

    /**
     * 品牌logo
     */
    @TableField("img")
    private String img;

}
